package com.qijian.flowable.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.qijian.common.annotation.Excel;
import com.qijian.common.core.domain.BaseEntity;

/**
 * 流程矩阵字段值对象 t_flowable_matrix_field_val
 *
 * @author qijian
 * @date 2022-02-08
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
@TableName("t_flowable_matrix_field_val")
public class MatrixFieldVal extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 字段值id */
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "字段值id")
    @TableId
    private Long fieldValId;

    /** 字段id */
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "字段id")
    private Long fieldId;

    /** 矩阵id */
    @Excel(name = "矩阵id")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "矩阵id")
    private Long matrixId;

    /** 值id */
    @Excel(name = "值id")
    @JsonSerialize(using= ToStringSerializer.class)
    @ApiModelProperty(value = "值id")
    private Long valueId;

    private String label;

    private String valueIndex;

    private Long type;

    /** 值名称 */
    @Excel(name = "值名称")
    @ApiModelProperty(value = "值名称")
    private String valueName;

}
